package com.android.bookgarden.db;

import java.util.List;

/**
 * Created by zouqh on 2018/4/18.
 */

public interface XutlisDataImpl {

    void insert(List beanArrayList);

    void insert(Object myBean);

    void update(Object myBean);

    void update(String columnName, String columnValue);

    void update(String queryColumnName, String queryColumnValue, String setColumnName, String setColumnValue);


    void delete(Object myBean);
    void delete(String key, String value);
    int deleteAll();



    List query(String key, String value, Class clas);
    List query(String key, String value, String key1, String value1, Class clas);
    long queryCount(Class clas);

    List queryAll(Class clas);
    //查询对象次数最大的
    Object queryObj(Class clas, String key);
    List queryAll(Class clas, String key);
    void deleteTable(Class object);
}
